<?xml version="1.0" encoding="ISO-8859-1" ?>

<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:c="http://java.sun.com/jsp/jstl/core" version="2.0">
	<jsp:directive.page contentType="text/html; charset=ISO-8859-1"
		pageEncoding="ISO-8859-1" session="true" />
	<jsp:output doctype-root-element="html"
		doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
		doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
		omit-xml-declaration="true" />

	<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Gamer's Community</title>
<jsp:include page="common/headerScripts.jsp" />
<link rel="stylesheet" href="${root}/css/L75R25.css" />
<script type="text/javascript" src="js/first.js">
	;
</script>
</head>
<body>


	<jsp:include page="common/header_nav.jsp" />
	<!-- main starts -->
	<div id="main" class="grid-block">
		<div id="maininner" class="grid-box">
			<section id="content" class="grid-block">
				<div id="system-message-container"></div>
				<div id="system">
					<div class="items items-col-0 grid-block">
						<!-- Main Content -->

						Game Detail page <input type="hidden" id="id" name="id"
							value="${game.id }" /> <select name="rate" id="rate">
							<c:forEach var="i" begin="1" end="10" step="1">
								<option value="${i }">${i }</option>
							</c:forEach>
						</select> <input type="submit" name="submit" value="Rate"
							onClick="ajaxRate(this)" />


						<div id="result">&amp;nbsp;</div>


						<div id="div-regForm">
							<div class="form-sub-title">${game.name }</div>
							<table>
								<tbody>
									<tr>
										<td><label for="pass_confirm">Platform</label>
										</td>
										<td><div class="input-container">${game.platform}</div>
										</td>
									</tr>
									<tr>
										<td><label for="answer">Genre</label>
										</td>
										<td><div class="input-container">${game.genre}</div>
										</td>
									</tr>
									<tr>
										<td><label for="lname">Company:</label>
										</td>
										<td><div class="input-container">${game.company}</div>
										</td>
									</tr>
									<tr>
										<td><label for="lname">website:</label>
										</td>
										<td><div class="input-container">${game.website}</div>
										</td>
									</tr>
									<tr>
										<td><label for="pass">Release Date</label>
										</td>
										<td><div class="input-container">${game.releaseDate}</div>
										</td>
									</tr>
									<tr>
										<td><label for="email">summary</label>
										</td>
										<td><div class="input-container">${game.summary}</div>
										</td>
									</tr>
								</tbody>
							</table>


							<c:if test="${not empty msg }">
								<div id="error">${msg }</div>
							</c:if>
							<c:if test="${not empty usernameError }">
								<div id="error">${usernameError}</div>
							</c:if>
							<c:if test="${not empty emailError }">
								<div id="error">${emailError}</div>
							</c:if>
						</div>


						<!-- Main Content ends-->
					</div>
				</div>
			</section>
		</div>
		<!-- maininner end -->

		<jsp:include page="UserPanel.jsp" />
	</div>
	<!-- main end -->

	<jsp:include page="common/footer.jsp" />



</body>
	</html>
</jsp:root>
